package com.wssl.common.domain.base.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("主键idDTO")
public class IdLongDTO {

    @ApiModelProperty("主键id")
    @NotNull(message = "参数id不能为空")
    @Min(value = 1, message = "参数id不能为空")
    private Long id;

}

